package com.demo.controller;

import cn.hutool.core.convert.Converter;
import cn.hutool.core.convert.ConverterRegistry;
import cn.hutool.core.lang.Assert;

import java.lang.reflect.Type;

/**
 * 方法说明:    hutool自定义转换器
 * @param null
 * @return
 * @version v1.0
 * @author 梁阿龙
 * @date 2022-08-01 13:48*/
public class CustomConverter implements Converter {

    @Override
    public Object convert(Object o, Object o2) throws IllegalArgumentException {
        return "Custom: " + o.toString();
    }


}
